package test.threadpool;

import java.text.SimpleDateFormat;
import java.util.Date;

public class MyThread extends Thread {

	@Override
	public void run() {
		System.out.println(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date())+"-----"+Thread.currentThread().getName()+" is running...");
	}

}
